.playdemo{
  position: absolute;
  width: 88%;
  height: 1000px;
  background: url('../../../../../background/demoBackground.png') no-repeat;
  background-size: cover;
  overflow: scroll;
  box-sizing: border-box;
}

.flex-ctrl {
  display: flex;
  flex-direction: row;
  width: 280px;
  height: 50px;
  margin: 5px;
  background: #afdfee;
  padding: 5px;
  border-radius: 15px;
  user-select: none;
  text-align: center;
  line-height: 30px;
  position: absolute;
  right: 200px;
}

.buttion-item-icon {
  width: 50px;
  height: 50px;
  margin-left: 20px;
  background-size: cover;
}

.next-node {
  background: url('../../../../../background/next-node.png') no-repeat;
  background-size: cover;
}

.last-node {
  background: url('../../../../../background/last-node.png') no-repeat;
  background-size: cover;
}

.end-node {
  background: url('../../../../../background/end-node.png') no-repeat;
  background-size: cover;
}

.play-node {
  background: url('../../../../../background/play-node.png') no-repeat;
  background-size: cover;
}

.center-container {
  text-align: center;
  /* 文本居中 */
  display: flex;
  justify-content: center;
  /* 元素居中 */
  align-items: center;
  /* 元素垂直居中 */
  height: 100vh;
  /* 使容器占据整个视口高度 */
}

.text-box {
  border: 5px solid #000;
  padding: 10px;
  height: 200px;
  width: 96%;
  bottom: 10px;
  position: absolute;
  left: 15px;
  font-size: 15px;
}

.name-left-box {
  text-align: center;
  display: flex;
  justify-content: center;
  /* 元素居中 */
  border: 5px solid #000;
  padding: 10px;
  height: 20px;
  width: 80px;
  top: 5px;
  position: absolute;
  left: 15px;
  font-size: 0.8vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-right-box {
  text-align: center;
  display: flex;
  justify-content: center;
  border: 5px solid #000;
  padding: 10px;
  height: 20px;
  width: 80px;
  top: 5px;
  position: absolute;
  right: 15px;
  font-size: 0.8vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dialogue-background {
  position: absolute;
  bottom: 100px;
  width: 80%;
  height: 300px;
  right: 145px;
  background: #282c34da;
}

.left-item {
  width: 350px;
  height: 400px;
  display: flex;
  position: absolute;
  left: 180px;
  bottom: 400px;
}

.choice-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 280px;
  right: 600px;
  gap: 30px;

}

.choice-item-icon {
  width: 400px;
  height: 60px;
  margin-top: 20px;
  background-size: cover;
  margin-left: 0 !important;
}

.decide-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 700px;
  bottom: 250px;
}

.decide-item {
  width: 200px;
  height: 30px;
  margin-top: 20px;
  background-size: cover;
  margin-left: 0 !important;
}

.right-item {
  width: 350px;
  height: 400px;
  display: flex;
  position: absolute;
  right: 100px;
  bottom: 400px;
}

.item-background {
  width: 90%;
  height: 90%;
  display: flex;
  margin-left: 100px;
}

.enemy-container {
  display: flex;
  flex-direction: column;
}

.reward-container {
  display: flex;
  flex-direction:column;
  align-items: center;
}

.enemy-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  right: 150px;
  top: 200px;
  position: absolute;
}

.reward-grid {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(4, 0.5fr);
  left: 150px;
  bottom: 500px;
  position: relative;
  margin-top: 50px;
}

.fight-pic {
  background: url("../../../../../background/fightBackground.png");
  background-size: cover;
}

.reward-background {
  background: url("../../../../../background/rewardBackground.png");
  background-size: cover;
}

.end-background {
  height: 100%;
  width: 100%;
  background: url("../../../../../background/endBackground.png");
  background-size: cover;
}
.start-background {
  height: 80%;
  width: 90%;
  background: url("../../../../../background/startBackground.png");
  background-size: cover;
  left: 80px;
  top: 80px;
  position: absolute;
}

.startName{
  font-size: 50px;
  color: #525252;
  position: absolute;
  top: 300px;
  left: 700px;
}

.text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* 设置容器高度，这里假设为全屏高度 */
}

.startID{
  font-size: 30px;
  color: #525252;
  position: absolute;
  top: 400px;
  left: 750px;
}

.enemy-pic {
  background: url("../../../../../background/enemy.png");
  background-size: cover;
  width: 100px;
  height: 200px;
  position: relative;
  left: 20px
}

.reward-pic {
  background: url("../../../../../background/rewardPic.png");
  background-size: cover;
  width: 100px;
  height: 100px;
  position: relative;
}

.location-background {
  width: 100%;
  height: 100%;
  display: flex;
}

.location-pic {
  src: '';
  background-size: cover;
}

.left-role-pic {
  src: '';
  background-size: cover;
}


.right-role-pic {
  src: '';
  background-size: cover;
}